package fr.emse.tatiana.replayable.analysis.graph;

import org.eclipse.gef.commands.Command;

import fr.emse.tatiana.replayable.analysis.Link;

public class ConnectionChangeTextCommand extends Command {
	
	private String text;
	private Link link;
	
	@Override
	public void execute() {
		link.setDesc(text);
	}
	

	public void setText(String text) {
		this.text = text;
	}

	
	public void setModel(Link link) {
		this.link =  link;
	}
}
